<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">
    <meta name="description" content="{$postInfo.description}">
    <meta name="keywords" content="{$postInfo.keywords}">
    <title>{$postInfo.title}-<yang:sitename /></title>
    <link rel="stylesheet" href="__PUBLIC__/css/swiper.min.css">
    <link rel="stylesheet" href="__PUBLIC__/css/base.min.css">
    <link rel="stylesheet" href="__PUBLIC__/css/phone.min.css">
    <script type="text/javascript" src="__PUBLIC__/js/jquery-3.2.1.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/swiper.min.js"></script>
    <script type="text/javascript" src="__PUBLIC__/js/index.min.js"></script>
</head>
<body>
{$head_navlist}
<!-- banner -->
<div class="banner">
    <div class="swiper-wrapper">
        <yang:abc id="$headInfo[banner_select_id]" limit="4">
            <div class="swiper-slide"><a href="javascript:void(0)"><img src="{$abc[content]}" alt="" /></a></div>
        </yang:abc>
    </div>
    <!-- Add Pagination -->
    <div class="swiper-pagination"></div>
</div>
<!-- 主体部分 -->
<section class="content">

    <!-- 新闻资讯 -->
    <section class="box brand_content">
        <div class="location">
            <a href="">当前位置</a>-<a href="/pn_<?=$headInfo[ename]?>">{$headInfo[name]}</a>- <a href="/article_<?=$postInfo[id]?>">{$postInfo.title}</a>
        </div>
        <div class="fullBox">
            <div class="navListBox clear">
                <a href="/pn_<?=$headInfo[ename]?>" class="Join_list"><p>全部新闻</p></a>
                <?php $i=0; ?>
                <yang:navlist typeid="$headInfo[id]">
                    <?php if($i==1): ?>
                        <a href="/pn_<?=$navlist[ename]?>" class="Join_list <?=$activeCatalogId==$navlist[id]?'tab_active':''?>" style="margin-right: 0%"><p>{$navlist.name}</p></a>
                    <?php else: ?>
                        <a href="/pn_<?=$navlist[ename]?>" class="Join_list <?=$activeCatalogId==$navlist[id]?'tab_active':''?>"><p>{$navlist.name}</p></a>
                    <?php endif; ?>
                    <?php $i++; ?>
                </yang:navlist>
            </div>
        </div>
        <div class="info">
            <header class="new_detail_title">
                <h1>{$postInfo.title}</h1>
                <p><?=date('Y-m-d',$postInfo[publishtime])?></p>
            </header>
            {$postInfo.content}
        </div>
        <div class="new_detail_info">
            <?php if(!empty($lastProductId[id])): ?>
                <p>上一篇：<a href="/article_<?=$lastProductId[id]?>">{$lastProductId.title}</a></p>
            <?php endif; ?>
            <?php if(!empty($nextProductId[id])): ?>
                <p>下一篇：<a href="/article_<?=$nextProductId[id]?>">{$nextProductId.title}</a></p>
            <?php endif; ?>
        </div>
    </section>
</section>
{$footHtml}
<script>
    swiperBanner();
</script>
</body>
</html>